<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>创建狂想活动 - 第一步 选择比赛项目</title>
<link href="http://g.alicdn.com/bui/bui/1.1.21/css/bs3/dpl.css" rel="stylesheet">
<link href="http://g.alicdn.com/bui/bui/1.1.21/css/bs3/bui.css" rel="stylesheet">
<script src="http://g.tbcdn.cn/fi/bui/jquery-1.8.1.min.js"></script>
<script src="http://g.alicdn.com/bui/seajs/2.3.0/sea.js"></script>
<script src="http://g.alicdn.com/bui/bui/1.1.10/config.js"></script>
<script src="/assets/kxdr/steps.js"></script>

</head>
<body style="width:990px;margin:0 auto;padding:10px 0;">
 <div class="doc-content">
    <div class="panel">
      <div class="panel-body">
	  
	  <div class="row">
		<div class="span24 doc-content">
		<h3 class="pull-left">我的互动 >>  活动列表</h3>
		<a class="button pull-right" style="margin-left:10px" href="/"><i class="icon-home"></i>返回订单抽大奖</a>
		<a class="button pull-right" style="margin-left:10px" href="/?a=gamecfg&m=shopadmin&repick=1"><i class="icon-refresh"></i>重新选择活动类型</a>
		<a class="button button-success pull-right" href="/?m=Kxdr&c=Advance&a=Index"><i class="icon icon-home icon-white"></i></a>
		</div>
	  </div>
	  </div>
	  </div>
	  </div>
 <div class="doc-content">
	  
    <div class="panel">
      <div class="panel-header">
        <h3>创建狂想活动</h3>
      </div>
      <div class="panel-body">
	  <div class="flow-steps" style="margin:0 auto;width:948px">
  <ol class="num4">
    <li class="first current">1.选择活动项目</li>
    <li class="">2.选择队伍和猜分方式</li>
    <li class="">3.设置活动奖品</li>
    <li class="last">4.完成</li>
  </ol>
</div>
<div class="row show-grid">
  <div class="span8 offset1">
	<div class="panel">
	  <div class="panel-header clearfix">
		<h3 class="pull-left">选择比赛项目</h3>
		<div id="tbar" class="pull-right"></div>
	  </div>
	  <div class="panel-body js-load" id= "t1" data-tp="game"  data-url="/?m=Kxdr&c=Gameset&a=loadgames" data-rtitle="所有比赛项目">
	  </div>
	</div>
  </div>
  <div class="span15">
	<ul class="breadcrumb">
        <li class="active game-title">比赛名称</li>
      </ul>
    <form id="J_Form" class="form-horizontal" method="post" action="/?m=Kxdr&c=Advance&a=step2">
        <div class="row">
          <div class="control-group span15">
            <label class="control-label">狂想标语：</label>
            <div class="controls">
              <input name="event_title" type="text" value="{$event_title|default:""}" data-rules="{ldelim}required:true{rdelim}" data-messages="{ldelim}required:'请输入狂想标语！'{rdelim}" class="input-large control-text "  data-tip="{ldelim}text:'取一个带劲的狂想标语'{rdelim}">
			  <span class="label label-success float-right js-title-ex" style="cursor:pointer">案例</span>
            </div>
          </div>
        </div>        
		<div class="row">
          <div class="control-group span15">
            <label class="control-label">开奖时间：</label>
            <div class="controls bui-form-group" data-rules="{ldelim}dateRange : true{rdelim}">
              <input name="gifting_time" value="{$gifting_time|default:""}" data-tip="{ldelim}text : '开奖时间'{rdelim}" data-rules="{ldelim}required:true{rdelim}" data-messages="{ldelim}required:'开奖日期不能为空'{rdelim}" class="input-small calendar calendar-time js-bssj" type="text"><label>&nbsp;-&nbsp;</label>
              <span class="auxiliary-text">开奖时间应当晚于比赛结束时间</span>
			</div>
          </div>
        </div>
        <div class="row">
          <div class="control-group span15">
            <label class="control-label">参与积分：</label>
            <div class="controls">
              <div id="s1">
				  <input type="hidden" class="js-cyjf" value="{$cyjf|default:""}" name="cyjf">
				  <input name="id" type="text" class="input-small control-text js-jfinput" style="display:none" value="{$cyjf|default:""}">
			  <span class="x-icon x-icon-error pull-right tipShow" style="margin:4px 0 0 5px;cursor:pointer">?</span>
			  </div>
            </div>
          </div>
		</div>
		<div class="row">
          <div class="control-group span15">
            <label class="control-label">比赛名称：</label>
            <div class="controls">
              <input name="game_name" value="{$game_name|default:""}" type="text" data-rules="{ldelim}required:true{rdelim}" data-messages="{ldelim}required:'比赛不能为空！'{rdelim}" class="input-large control-text js-kxby"  readonly="readonly" data-tip="{ldelim}text:'请从左侧选择比赛'{rdelim}">
            </div>
          </div>
        </div>
        <div class="row">
          <div class="control-group span15">
            <label class="control-label">比赛时间：</label>
            <div class="controls bui-form-group" data-rules="{ldelim}dateRange : true{rdelim}">
              <input name="start" value="{$start|default:""}" data-tip="{ldelim}text : '起始日期'{rdelim}" data-rules="{ldelim}required:true{rdelim}" data-messages="{ldelim}required:'起始日期不能为空'{rdelim}" class="input-small calendar calendar-time js-bssj" type="text"><label>&nbsp;-&nbsp;</label>
              <span class="auxiliary-text">比赛的开始日期</span>
			</div>
          </div>
        </div>
        <div class="row" style="height:185px">
          <div class="control-group span15">
            <label class="control-label">比赛封面：</label>
            <div class="controls bui-form-group" data-rules="{ldelim}dateRange : true{rdelim}">
				<input type="hidden" class="js-picurl" name="pic_url" value="{$pic_url|default:""}" />
				<div id="J_Uploader" style="position:absolute">
				</div>
              <img src="{if $pic_url}{$pic_url}_315x315.jpg{else}https://img.alicdn.com/tps/i1/TB1erhHHpXXXXbFXFXXXykfYFXX-315-175.png{/if}" class="js-picview" /><label>&nbsp;-&nbsp;</label>
              <span class="auxiliary-text">请上传活动封面。</span>
			</div>
          </div>
        </div>
        <div class="row">
          <div class="control-group span15">
            <label class="control-label">赛事信息：</label>
            <div class="controls control-row4">
              <textarea data-tip="{ldelim}text:'请输入赛事描述'{rdelim}" name="descrip" class="input-large js-bsms" type="text">{$descrip|default:""}</textarea>
            </div>
          </div>
        </div>
        <div class="row form-actions actions-bar" style="margin-left:0">
            <div class="span13 offset5 ">
			  <input type="hidden" value="{$game_id|default:""}" name="game_id" class="js-hdid" data-rules="{ldelim}required:true{rdelim}" data-messages="{ldelim}required:'请从右侧选择活动！'{rdelim}"/>
              <button type="submit" class="button button-primary">下一步</button>
            </div>
        </div>
    </form>
	</div>
</div>
      </div>
    </div>
  </div>
</body>
</html>